﻿@model VehicleManagement.Models.DriverInfo
@{
    ViewBag.Title = "Details";
}
<h2>
</h2>
<link rel="stylesheet" href="@Url.Content("~/Content/css/page_zlb_c_e_d.css")" type="text/css"/>
@Html.Partial("_PartviewDrivermanageNav")
<div class="content bc">
    <div class="content_link_warn f12">
        你当前的位置：司机管理&gt&gt &nbsp;&nbsp;司机查询&gt&gt &nbsp;&nbsp;司机详情
    </div>
    <div class="content_right fr" id="rightcontent">
        <fieldset>
            @*<legend></legend>*@
            <div class="OutTitle">
                <span>查看司机信息</span></div>
            <div class="Box">
                <div class="SubBox1 mt5 ml15 mr15">
                    <div class="SubTitle">
                        司机基本信息</div>
                    <div class="SubBox-container">
                        <div class="pic-wrap">
                            @if (string.IsNullOrWhiteSpace(Model.DriverImage))
                            {
                                <img src="../../Content/themes/picture/defaultHeadImage.png" />
                            }
                            else
                            {
                                <img src="/Photos/Driver/@Model.DriverImage" />
                            }
                        </div>
                        <div class="text-wrap ml20 mb5 mr5">
                            <div class="text-l ">
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.DriverName):</span>
                                    <span class="length length100">@Html.DisplayFor(model => model.DriverName)</span>
                                </div>
                                <div class="withValidate">  
                                    <span@* id="Sex-span"*@>@Html.LabelFor(model => model.Sex):</span>
                                    <span class="length length100">@Html.DisplayFor(model => model.Sex)</span>
                                    <div class="special-validate">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.Age):</span>
                                    <span class="length">@Html.DisplayFor(model => model.Age)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="text-l mt15">
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.Telephone):</span>
                                    <span class="length length100">@Html.DisplayFor(model => model.Telephone)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span @*id="email-span"*@>@Html.LabelFor(model => model.Email):</span>
                                    <span class="length">@Html.DisplayFor(model => model.Email)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="text-l mt15">
                                <div class="withValidate w63">
                                    <span >@Html.LabelFor(model => model.FamilyAddress):</span>
                                    <span class="length">@Html.DisplayFor(model => model.FamilyAddress)</span>
                                    <div class="special-validate">
                                    </div>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="text-l mt15">
                                <span @*id="span-state"*@>@Html.LabelFor(model => model.FreeOrBusy):</span>
                                
                                @if(Model.FreeOrBusy==0)
                                {
                                   <span class="length length125">空闲</span>
                                }
                                else if (Model.FreeOrBusy == 1)
                                {
                                   <span class="length length125">忙碌</span>
                                    
                                }
                                
                                <span @*id="ismanager-span"*@>@Html.LabelFor(model => model.IsManeger):</span>
                                
                                @if (Model.IsManeger == 0)
                                {
                                 <span class="length length100">否</span>
                                }
                                else if (Model.IsManeger == 1)
                                {
                                   <span class="length length100">是</span>
                                    
                                }
                                
                            </div>
                        </div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="SubBox2 m15 mt10 mb5">
                    <div class="SubTitle">
                        司机驾驶信息</div>
                    <div class="SubBox-container">
                        <div class="text-wrap ml5 mb5 mr5">
                            <div class="text-l mt15">
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.DriverLinceId):</span>
                                    <span class="length length170">@Html.DisplayFor(model => model.DriverLinceId)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span @*id="linceID_span"*@>@Html.LabelFor(model => model.LinceID):</span>
                                    <span class="length length120">@Html.DisplayFor(model => model.LinceID)</span>
                                    <div class="special-validate2">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.LinceStart):</span>
                                    <span class="length">@String.Format("{0:yyyy.MM.dd}", Model.LinceStart)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="text-l mt15">
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.LinceType):</span>
                                    <span class="length length170">@Html.DisplayFor(model => model.LinceType)</span>
                                    <div class="validate">
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span @*id="LincecheckTime-span"*@>@Html.LabelFor(model => model.LincecheckTime):</span>
                                    @String.Format("{0:yyyy.MM.dd}", Model.LincecheckTime)
                                    <div class="special-validate2">
                                    </div>
                                </div>
                                
                                <div class="clear"></div>
                            </div>
                            <div class="text-l mt15">
                                    <span @*class="spanType1 remark-span"*@>@Html.LabelFor(model => model.Remark):</span>
                                    @Html.DisplayFor(model => model.Remark)
                            </div>
                        </div>
                    </div>
                    <div class="editor-label hide">
                        @Html.LabelFor(model => model.DriverID)
                    </div>
                </div>
            </div>
            <div class="button-wrap">
                <div class="a-back backEdit">
                    <div class="divINbackEdit">@Html.ActionLink("编辑修改", "Edit", new { id = Model.DriverID })</div>
                </div>
                <div class="a-back mr15">
                    <div class="divINa-back">@Html.ActionLink("返回", "Index")</div>
                </div>
        </fieldset>
    </div>
    @Html.Partial("_PartviewDriverLeftbar")
    <div class="content_contract fl">
        <a href="javascript:void(0)" class="btn_contract w8h32" id="contract" title="收缩">
        </a><a href="javascript:void(0)" class="btn_expand w8h32" id="expand" title="展开">
        </a>
    </div>
    <div class="cb">
    </div>
</div>
